<ion-view view-title="任务主页" >
  <ion-content>
    <ion-refresher on-refresh="doRefresh()"
                   pulling-text="下拉刷新..."
                   refreshing-text="拼命加载中..."
                   refreshing-icon="ion-loading-b">

    </ion-refresher>
      <div class="list card" href="#" ng-show="allMission!=0">
        <div class="item button-bar" >
          <input class="" style="width: 70%;" ng-model="orderid" placeholder="输入至少5位连续订单号">
          <a class="button" ng-click="searchMission(orderid)">搜索</a>
        </div>
        <div class="item button-bar" >
          <a class="button" ng-click="scanZbra()">扫码</a>
        </div>
        <div class="item button-bar" ng-repeat="item in MissionsType">
          <a class="button" ng-click="gotoMyMission(item.type)">{{item.name}} ({{item.count}})
          </a>
        </div>
      </div>
    <div ng-if="(allMission == 0)" class="card">
      <div class="item item-text-wrap">
        空空如野~~~
      </div>
    </div>
  </ion-content>
</ion-view>
